package org.example.minebackend.service;

import org.example.minebackend.pojo.DetailOfRecipe;
import org.example.minebackend.pojo.Herb;
import org.example.minebackend.pojo.Recipe;
import org.example.minebackend.pojo.RecipeEntry;

import java.util.List;

public interface HealthClubService {
    List<RecipeEntry> getRecipeEntry(String body);
    DetailOfRecipe getRecipeDetails(Integer id);
    List<Herb> getHerbsByBody(String body);
    int addRecipeCollection(Integer userId, Integer recipeId);
    int judgeCollection(Integer userId, Integer recipeId);
    int deleteCollection(Integer userId, Integer recipeId);
}
